package com.ruoyi.course.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生考试对象 s_exam
 * 
 * @author ruoyi
 * @date 2024-11-30
 */
public class SExam extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 学生ID */
    @Excel(name = "学生ID")
    private Long sId;

    /** 在线测试ID */
    @Excel(name = "在线测试ID")
    private Long eId;

    /** 是否交卷 */
    @Excel(name = "是否交卷")
    private Long isSubmit;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 交卷时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "交卷时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date subTime;

    /** 得分 */
    @Excel(name = "得分")
    private Long score;

    /** 总分 */
    @Excel(name = "总分")
    private Long allScore;

    /** 及格得分 */
    @Excel(name = "及格得分")
    private Long pass;

    /** 是否及格 */
    @Excel(name = "是否及格")
    private Long isPass;

    /** 是否批改 */
    @Excel(name = "是否批改")
    private Long isMark;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private Long isDelete;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setsId(Long sId) 
    {
        this.sId = sId;
    }

    public Long getsId() 
    {
        return sId;
    }
    public void seteId(Long eId) 
    {
        this.eId = eId;
    }

    public Long geteId() 
    {
        return eId;
    }
    public void setIsSubmit(Long isSubmit) 
    {
        this.isSubmit = isSubmit;
    }

    public Long getIsSubmit() 
    {
        return isSubmit;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setSubTime(Date subTime) 
    {
        this.subTime = subTime;
    }

    public Date getSubTime() 
    {
        return subTime;
    }
    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }
    public void setAllScore(Long allScore) 
    {
        this.allScore = allScore;
    }

    public Long getAllScore() 
    {
        return allScore;
    }
    public void setPass(Long pass) 
    {
        this.pass = pass;
    }

    public Long getPass() 
    {
        return pass;
    }
    public void setIsPass(Long isPass) 
    {
        this.isPass = isPass;
    }

    public Long getIsPass() 
    {
        return isPass;
    }
    public void setIsMark(Long isMark) 
    {
        this.isMark = isMark;
    }

    public Long getIsMark() 
    {
        return isMark;
    }
    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sId", getsId())
            .append("eId", geteId())
            .append("isSubmit", getIsSubmit())
            .append("startTime", getStartTime())
            .append("subTime", getSubTime())
            .append("score", getScore())
            .append("allScore", getAllScore())
            .append("pass", getPass())
            .append("isPass", getIsPass())
            .append("isMark", getIsMark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("isDelete", getIsDelete())
            .append("remark", getRemark())
            .toString();
    }
}
